package com.iyjhsoc.game.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.iyjhsoc.game.domain.VO.CompetitionSmallTeamLoLInfoVO;
import com.iyjhsoc.game.domain.dto.CompetitionSmallTeamLoLInfoDTO;
import com.iyjhsoc.game.domain.entity.CompetitionSmallTeamLoLInfoDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CompetitionSmallTeamLoLInfoDAO extends BaseMapper<CompetitionSmallTeamLoLInfoDO> {

    CompetitionSmallTeamLoLInfoDO selectByGameIdAndTeamId(@Param("gameId") Long gameId,@Param("teamId") Long teamId);

    List<CompetitionSmallTeamLoLInfoDTO> queryList(CompetitionSmallTeamLoLInfoVO vo);

    List<CompetitionSmallTeamLoLInfoDTO> queryListBySmallId(@Param("smallId") List<Long> smallId);
}
